import request from '@/utils/request'

export default {
    //分页讲师查询的方法
  getTeacherList(pageNum,pageSize) {
    return request({
      url: `/teacher/TeacherList`,
      method: 'post',
      params:{pageNum,pageSize}
    })
  },
  //讲师详情的方法
  getTeacherInfo(id) {
    return request({
      url: `/teacher/get/${id}`,
      method: 'get'
    })
  },
  getTeacherMaster(){
    return request({
      url: `/teacher/TeacherMaster`,
      method: 'post'
    })
  }




}
